|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmisc.Range
public class Range
This is a tuple class which is used to pass on a double range.
| Constructor Summary | |
|---|---|
Range(double lowerbound,
double upperbound)
Specifies a continuous range. |
|
| Method Summary | |
|---|---|
double |
getLowerbound()
Returns the lowerbound of the range. |
double |
getUpperbound()
Returns the upperbound of the range. |
void |
increaseUpperbound(double increment)
Increases the upperbound by the given increment. |
void |
setLowerbound(double lowerbound)
Set the lowerbound of the range. |
void |
setUpperbound(double upperbound)
Set the upperbound of the range. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Range(double lowerbound,
double upperbound)
lowerbound - of the range.upperbound - of the range.| Method Detail |
|---|
public double getUpperbound()
public double getLowerbound()
public void setUpperbound(double upperbound)
upperbound - of the range.public void setLowerbound(double lowerbound)
lowerbound - of the range.public void increaseUpperbound(double increment)
increment - amount which should be added to the upperbound.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||